package com.jiyun.model.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

/**
 * @TableName address
 */
@TableName(value ="address")
@Data
public class Address implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer addressId;

    private Integer id;

    private String addressName;

    private String contactName;

    private String contactPhone;

    private String detailAddress;
    @JsonIgnore
    @TableLogic
    @TableField("is_default")
    private Integer isDefault;

    private static final long serialVersionUID = 1L;


}